Integrand size = 29, antiderivative size = 87 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\left (3 b+4 a c^2\right ) x \sqrt {-1+c x} \sqrt {1+c x}}{8 c^4}+\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^2}+\frac {\left (3 b+4 a c^2\right ) \text {arccosh}(c x)}{8 c^5} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {471, 92, 54} \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\left (4 a c^2+3 b\right ) \text {arccosh}(c x)}{8 c^5}+\frac {x \sqrt {c x-1} \sqrt {c x+1} \left (4 a c^2+3 b\right )}{8 c^4}+\frac {b x^3 \sqrt {c x-1} \sqrt {c x+1}}{4 c^2} \]
[In]
[Out]
Rule 54
Rule 92
Rule 471
Rubi steps \begin{align*} \text {integral}& = \frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^2}-\frac {1}{4} \left (-4 a-\frac {3 b}{c^2}\right ) \int \frac {x^2}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx \\ & = \frac {\left (3 b+4 a c^2\right ) x \sqrt {-1+c x} \sqrt {1+c x}}{8 c^4}+\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^2}+\frac {\left (3 b+4 a c^2\right ) \int \frac {1}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{8 c^4} \\ & = \frac {\left (3 b+4 a c^2\right ) x \sqrt {-1+c x} \sqrt {1+c x}}{8 c^4}+\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^2}+\frac {\left (3 b+4 a c^2\right ) \cosh ^{-1}(c x)}{8 c^5} \\ \end{align*}
Time = 0.25 (sec) , antiderivative size = 77, normalized size of antiderivative = 0.89 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {c x \sqrt {-1+c x} \sqrt {1+c x} \left (4 a c^2+b \left (3+2 c^2 x^2\right )\right )+\left (6 b+8 a c^2\right ) \text {arctanh}\left (\sqrt {\frac {-1+c x}{1+c x}}\right )}{8 c^5} \]
[In]
[Out]
Time = 4.28 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.28
method | result | size |
risch | \(\frac {x \left (2 b \,c^{2} x^{2}+4 c^{2} a +3 b \right ) \sqrt {c x -1}\, \sqrt {c x +1}}{8 c^{4}}+\frac {\left (4 c^{2} a +3 b \right ) \ln \left (\frac {c^{2} x}{\sqrt {c^{2}}}+\sqrt {c^{2} x^{2}-1}\right ) \sqrt {\left (c x -1\right ) \left (c x +1\right )}}{8 c^{4} \sqrt {c^{2}}\, \sqrt {c x -1}\, \sqrt {c x +1}}\) | \(111\) |
default | \(\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, \left (2 \,\operatorname {csgn}\left (c \right ) c^{3} \sqrt {c^{2} x^{2}-1}\, b \,x^{3}+4 \,\operatorname {csgn}\left (c \right ) c^{3} \sqrt {c^{2} x^{2}-1}\, a x +3 \,\operatorname {csgn}\left (c \right ) c \sqrt {c^{2} x^{2}-1}\, b x +4 \ln \left (\left (\sqrt {c^{2} x^{2}-1}\, \operatorname {csgn}\left (c \right )+c x \right ) \operatorname {csgn}\left (c \right )\right ) a \,c^{2}+3 \ln \left (\left (\sqrt {c^{2} x^{2}-1}\, \operatorname {csgn}\left (c \right )+c x \right ) \operatorname {csgn}\left (c \right )\right ) b \right ) \operatorname {csgn}\left (c \right )}{8 c^{5} \sqrt {c^{2} x^{2}-1}}\) | \(147\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 77, normalized size of antiderivative = 0.89 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {{\left (2 \, b c^{3} x^{3} + {\left (4 \, a c^{3} + 3 \, b c\right )} x\right )} \sqrt {c x + 1} \sqrt {c x - 1} - {\left (4 \, a c^{2} + 3 \, b\right )} \log \left (-c x + \sqrt {c x + 1} \sqrt {c x - 1}\right )}{8 \, c^{5}} \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 113, normalized size of antiderivative = 1.30 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\sqrt {c^{2} x^{2} - 1} b x^{3}}{4 \, c^{2}} + \frac {\sqrt {c^{2} x^{2} - 1} a x}{2 \, c^{2}} + \frac {a \log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{2 \, c^{3}} + \frac {3 \, \sqrt {c^{2} x^{2} - 1} b x}{8 \, c^{4}} + \frac {3 \, b \log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{8 \, c^{5}} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.39 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {{\left ({\left (c x + 1\right )} {\left (2 \, {\left (c x + 1\right )} {\left (\frac {{\left (c x + 1\right )} b}{c^{4}} - \frac {3 \, b}{c^{4}}\right )} + \frac {4 \, a c^{18} + 9 \, b c^{16}}{c^{20}}\right )} - \frac {4 \, a c^{18} + 5 \, b c^{16}}{c^{20}}\right )} \sqrt {c x + 1} \sqrt {c x - 1} - \frac {2 \, {\left (4 \, a c^{2} + 3 \, b\right )} \log \left (\sqrt {c x + 1} - \sqrt {c x - 1}\right )}{c^{4}}}{8 \, c} \]
[In]
[Out]
Time = 29.41 (sec) , antiderivative size = 720, normalized size of antiderivative = 8.28 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\frac {23\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^3}{2\,{\left (\sqrt {c\,x+1}-1\right )}^3}+\frac {333\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^5}{2\,{\left (\sqrt {c\,x+1}-1\right )}^5}+\frac {671\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^7}{2\,{\left (\sqrt {c\,x+1}-1\right )}^7}+\frac {671\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^9}{2\,{\left (\sqrt {c\,x+1}-1\right )}^9}+\frac {333\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{11}}{2\,{\left (\sqrt {c\,x+1}-1\right )}^{11}}+\frac {23\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{13}}{2\,{\left (\sqrt {c\,x+1}-1\right )}^{13}}-\frac {3\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{15}}{2\,{\left (\sqrt {c\,x+1}-1\right )}^{15}}-\frac {3\,b\,\left (\sqrt {c\,x-1}-\mathrm {i}\right )}{2\,\left (\sqrt {c\,x+1}-1\right )}}{c^5-\frac {8\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^2}{{\left (\sqrt {c\,x+1}-1\right )}^2}+\frac {28\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^4}{{\left (\sqrt {c\,x+1}-1\right )}^4}-\frac {56\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^6}{{\left (\sqrt {c\,x+1}-1\right )}^6}+\frac {70\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^8}{{\left (\sqrt {c\,x+1}-1\right )}^8}-\frac {56\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{10}}{{\left (\sqrt {c\,x+1}-1\right )}^{10}}+\frac {28\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{12}}{{\left (\sqrt {c\,x+1}-1\right )}^{12}}-\frac {8\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{14}}{{\left (\sqrt {c\,x+1}-1\right )}^{14}}+\frac {c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{16}}{{\left (\sqrt {c\,x+1}-1\right )}^{16}}}-\frac {\frac {14\,a\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^3}{{\left (\sqrt {c\,x+1}-1\right )}^3}+\frac {14\,a\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^5}{{\left (\sqrt {c\,x+1}-1\right )}^5}+\frac {2\,a\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^7}{{\left (\sqrt {c\,x+1}-1\right )}^7}+\frac {2\,a\,\left (\sqrt {c\,x-1}-\mathrm {i}\right )}{\sqrt {c\,x+1}-1}}{c^3-\frac {4\,c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^2}{{\left (\sqrt {c\,x+1}-1\right )}^2}+\frac {6\,c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^4}{{\left (\sqrt {c\,x+1}-1\right )}^4}-\frac {4\,c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^6}{{\left (\sqrt {c\,x+1}-1\right )}^6}+\frac {c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^8}{{\left (\sqrt {c\,x+1}-1\right )}^8}}+\frac {2\,a\,\mathrm {atanh}\left (\frac {\sqrt {c\,x-1}-\mathrm {i}}{\sqrt {c\,x+1}-1}\right )}{c^3}+\frac {3\,b\,\mathrm {atanh}\left (\frac {\sqrt {c\,x-1}-\mathrm {i}}{\sqrt {c\,x+1}-1}\right )}{2\,c^5} \]
[In]
[Out]